<?php pr($os); ?>
<?php if(empty($games)) : ?>
	<p>Không có game thuộc danh mục này</p>
<?php else: ?>
	<?php foreach($games as $game): ?>
		<section class="box-game">
			<section class="box">
				<?php echo $this->Html->image($game['Game']['thumbnail']); ?>
				
				<section class="game-info">
					<p class="game-title"><?php echo $this->Html->link($game['Game']['name'], '/game/' . $game['Game']['id'] . '-' . $game['Game']['alias']); ?></p>
					<p class="game-description">
						<?php echo $game['Game']['description']; ?>
					</p>
					
					<ul class="download-game">
						<li class="like">99</li>
						<li class="download">1108</li>
						<li><?php echo $this->Html->link('Tải xuống', $game['System'][$os]['GamesSystem']['download']); ?></li>
					</ul>
				</section>
			</section>
		</section>		
	<?php endforeach; ?>
<?php endif;?>